﻿--[[
   @brief    dirui desc
   @author   amadeusyu
   @version  1.0
   @date     2016-03-07
--]]

dirui_desc = {
    module_name = 'dirui',
    events = {
        {
            c_event = 
            {               
                {
                    id = ierd_tgp.server_dir.SEND_DIR_NODE_INFO,
                    callback = "dirui_control.on_res_dirui_info"
                },
                {
                    id = ierd_tgp.game_library.OPEN_SERVER_PANEL,
                    callback = "dirui_control.open_web_dirui"
                }
            },        
            lua_event = 
            {
                {
                    id  = open_link_event.OPEN_DIRUI,
                    callback = "dirui_control.open_dirui"
                }
            },
            lua_file = 'dirui\\control.lua'
        }
    }
};
desc_mgr.add(dirui_desc);